<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="healthcare_v1.html">Cloud Healthcare API</a> . <a href="healthcare_v1.projects.html">projects</a> . <a href="healthcare_v1.projects.locations.html">locations</a> . <a href="healthcare_v1.projects.locations.datasets.html">datasets</a> . <a href="healthcare_v1.projects.locations.datasets.consentStores.html">consentStores</a> . <a href="healthcare_v1.projects.locations.datasets.consentStores.attributeDefinitions.html">attributeDefinitions</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#create">create(parent, attributeDefinitionId=None, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Creates a new Attribute definition in the parent consent store.</p>
<p class="toc_element">
  <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes the specified Attribute definition. Fails if the Attribute definition is referenced by any User data mapping, or the latest revision of any Consent.</p>
<p class="toc_element">
  <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Gets the specified Attribute definition.</p>
<p class="toc_element">
  <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists the Attribute definitions in the specified consent store.</p>
<p class="toc_element">
  <code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
  <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates the specified Attribute definition.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="create">create(parent, attributeDefinitionId=None, body=None, x__xgafv=None)</code>
  <pre>Creates a new Attribute definition in the parent consent store.

Args:
  parent: string, Required. The name of the consent store that this Attribute definition belongs to. (required)
  body: object, The request body.
    The object takes the form of:

{ # A client-defined consent attribute.
  &quot;allowedValues&quot;: [ # Required. Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation.
    &quot;A String&quot;,
  ],
  &quot;category&quot;: &quot;A String&quot;, # Required. The category of the attribute. The value of this field cannot be changed after creation.
  &quot;consentDefaultValues&quot;: [ # Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
    &quot;A String&quot;,
  ],
  &quot;dataMappingDefaultValue&quot;: &quot;A String&quot;, # Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category `RESOURCE`.
  &quot;description&quot;: &quot;A String&quot;, # Optional. A description of the attribute.
  &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.
}

  attributeDefinitionId: string, Required. The ID of the Attribute definition to create. The string must match the following regex: `_a-zA-Z{0,255}` and must not be a reserved keyword within the Common Expression Language as listed on https://github.com/google/cel-spec/blob/master/doc/langdef.md.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A client-defined consent attribute.
  &quot;allowedValues&quot;: [ # Required. Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation.
    &quot;A String&quot;,
  ],
  &quot;category&quot;: &quot;A String&quot;, # Required. The category of the attribute. The value of this field cannot be changed after creation.
  &quot;consentDefaultValues&quot;: [ # Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
    &quot;A String&quot;,
  ],
  &quot;dataMappingDefaultValue&quot;: &quot;A String&quot;, # Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category `RESOURCE`.
  &quot;description&quot;: &quot;A String&quot;, # Optional. A description of the attribute.
  &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.
}</pre>
</div>

<div class="method">
    <code class="details" id="delete">delete(name, x__xgafv=None)</code>
  <pre>Deletes the specified Attribute definition. Fails if the Attribute definition is referenced by any User data mapping, or the latest revision of any Consent.

Args:
  name: string, Required. The resource name of the Attribute definition to delete. To preserve referential integrity, Attribute definitions referenced by a User data mapping or the latest revision of a Consent cannot be deleted. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
}</pre>
</div>

<div class="method">
    <code class="details" id="get">get(name, x__xgafv=None)</code>
  <pre>Gets the specified Attribute definition.

Args:
  name: string, Required. The resource name of the Attribute definition to get. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A client-defined consent attribute.
  &quot;allowedValues&quot;: [ # Required. Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation.
    &quot;A String&quot;,
  ],
  &quot;category&quot;: &quot;A String&quot;, # Required. The category of the attribute. The value of this field cannot be changed after creation.
  &quot;consentDefaultValues&quot;: [ # Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
    &quot;A String&quot;,
  ],
  &quot;dataMappingDefaultValue&quot;: &quot;A String&quot;, # Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category `RESOURCE`.
  &quot;description&quot;: &quot;A String&quot;, # Optional. A description of the attribute.
  &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.
}</pre>
</div>

<div class="method">
    <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
  <pre>Lists the Attribute definitions in the specified consent store.

Args:
  parent: string, Required. Name of the consent store to retrieve Attribute definitions from. (required)
  filter: string, Optional. Restricts the attributes returned to those matching a filter. The only field available for filtering is `category`. For example, `filter=category=\&quot;REQUEST\&quot;`.
  pageSize: integer, Optional. Limit on the number of Attribute definitions to return in a single response. If not specified, 100 is used. May not be larger than 1000.
  pageToken: string, Optional. Token to retrieve the next page of results or empty to get the first page.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  &quot;attributeDefinitions&quot;: [ # The returned Attribute definitions. The maximum number of attributes returned is determined by the value of page_size in the ListAttributeDefinitionsRequest.
    { # A client-defined consent attribute.
      &quot;allowedValues&quot;: [ # Required. Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation.
        &quot;A String&quot;,
      ],
      &quot;category&quot;: &quot;A String&quot;, # Required. The category of the attribute. The value of this field cannot be changed after creation.
      &quot;consentDefaultValues&quot;: [ # Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
        &quot;A String&quot;,
      ],
      &quot;dataMappingDefaultValue&quot;: &quot;A String&quot;, # Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category `RESOURCE`.
      &quot;description&quot;: &quot;A String&quot;, # Optional. A description of the attribute.
      &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.
    },
  ],
  &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no more results in the list.
}</pre>
</div>

<div class="method">
    <code class="details" id="list_next">list_next()</code>
  <pre>Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call &#x27;execute()&#x27; on to request the next
          page. Returns None if there are no more items in the collection.
        </pre>
</div>

<div class="method">
    <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
  <pre>Updates the specified Attribute definition.

Args:
  name: string, Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation. (required)
  body: object, The request body.
    The object takes the form of:

{ # A client-defined consent attribute.
  &quot;allowedValues&quot;: [ # Required. Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation.
    &quot;A String&quot;,
  ],
  &quot;category&quot;: &quot;A String&quot;, # Required. The category of the attribute. The value of this field cannot be changed after creation.
  &quot;consentDefaultValues&quot;: [ # Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
    &quot;A String&quot;,
  ],
  &quot;dataMappingDefaultValue&quot;: &quot;A String&quot;, # Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category `RESOURCE`.
  &quot;description&quot;: &quot;A String&quot;, # Optional. A description of the attribute.
  &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.
}

  updateMask: string, Required. The update mask that applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. Only the `description`, `allowed_values`, `consent_default_values` and `data_mapping_default_value` fields can be updated. The updated `allowed_values` must contain all values from the previous `allowed_values`.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A client-defined consent attribute.
  &quot;allowedValues&quot;: [ # Required. Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation.
    &quot;A String&quot;,
  ],
  &quot;category&quot;: &quot;A String&quot;, # Required. The category of the attribute. The value of this field cannot be changed after creation.
  &quot;consentDefaultValues&quot;: [ # Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
    &quot;A String&quot;,
  ],
  &quot;dataMappingDefaultValue&quot;: &quot;A String&quot;, # Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category `RESOURCE`.
  &quot;description&quot;: &quot;A String&quot;, # Optional. A description of the attribute.
  &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.
}</pre>
</div>

</body></html>